home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
fly8111-.000
/
fly8111-
/
fly8
/
COMMON
/
plsound.h
< prev
next >
Wrap
C/C++ Source or Header
|
1979-12-31
|
776b
|
36 lines
/* --------------------------------- plsound.h ------------------------------ */
/* This is part of the flight simulator 'fly8'.
* Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
*/
/* Header for plsound.c
*/
struct beep {
int freq;
int milli;
int *list; /* running list address */
int *list_id; /* head of list address */
};
typedef struct beep BEEP;
struct plsextra {
void (FAR* Start) (int eff);
void (FAR* Stop) (void);
BEEP *beeps;
Ulong lasttime;
Ulong nexttime;
int playing;
int nbeeps;
};
extern void FAR PlsPoll (int force);
extern int FAR PlsBeep (int f, int milli);
extern int FAR PlsList (int *list, int command);
extern int FAR PlsEffect (int eff, int command, ...);
extern int FAR PlsInit (char *options);
extern void FAR PlsTerm (void);